package studio.banner.reference.config;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

/**
 * @ClassName CustomExceptionHandler
 * @Deacription 全局异常处理
 * @Author Baofeng.Wu
 * @Date 2019/10/22 21:00
 **/
@ControllerAdvice
public class CustomExceptionHandler {
    @ExceptionHandler(NullPointerException.class)
    public void NullPointerException(NullPointerException e){
        
    }

}
